public class Lianxi2 {
	// 2：百度 8种基本类型的名字；
	public static void main(String[] args) {
		boolean flag = true;
		char yeschar = 'y';
		byte finbyte = 30;
		int intvalue = -70000;
		long longvalue = 200;
		short shortvalue = 20000;
		float floatvalue = 9.997f;
		double doublevalue = 1.117;
		System.out.println("The values are:");
		System.out.println("布尔类型变量    flag:" + flag);
		System.out.println("字符类型变量    yeschar:" + yeschar);
		System.out.println("字节类型变量     finbyte:" + finbyte);
		System.out.println("整型变量    intvalue:" + intvalue);
		System.out.println("长整型变量    longvalue:" + longvalue);
		System.out.println("短整型变量    shortvalue:" + shortvalue);
		System.out.println("浮点类型变量    floatvalue:" + floatvalue);
		System.out.println("双精度浮点型变量    doublevalue:" + doublevalue);
	}
}